﻿using Microsoft.AspNetCore.Mvc;

namespace GroupTwo_MVC.Controllers
{
    public class RolepermessionController : Controller
    {
        private readonly IConfiguration _configuration;

        public RolepermessionController(IConfiguration configuration)
        {
            _configuration = configuration;
        }
        /// <summary>
        /// 角色分配权限
        /// </summary>
        /// <returns></returns>
        public IActionResult Permission()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }
    }
}
